@echo off

set temppsfile=%1.tmp.ps1
type "%1" > "%temppsfile%"
powershell -File "%temppsfile%"
del /Q "%temppsfile%"
